package com.nanfeng.screenshot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @ClassName：ScreenshotApplication
 * @Author: LiuYunZhao
 * @Date: 2025/7/11 9:01
 * @Description: 截图工具启动类
 */
@SpringBootApplication
@EnableScheduling // 启用定时任务
public class ScreenshotApplication {
    public static void main(String[] args) {
        //SpringApplication.run(ScreenshotApplication.class, args);
        new SpringApplicationBuilder(ScreenshotApplication.class)
                .headless(false)
                .run(args);

        //SpringApplication.run(ScreenshotApplication.class, args);
    }
}